[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Function            getci_match - get specific input, case
                                      independent

  Syntax              char getci_match(boolean output, char *match);

  Prototype in        keyboard.h

  Remarks             getci_match accepts character input (via getk())
                      until one of the characters in the string match in
                      entered, case independent ('a' == 'A'). Extended
                      keys never match (F10 will never be a match.) If
                      output = TRUE, the character is echoed to the
                      screen via putch().

  Return value        returns the key pressed.

  See also            getc_match(), getk(), getlogical(), getyn()

  Example             #include <keyboard.h>

                      main()
                      {
                           printf("Enter your choice (Q, X, F, D): ");
                           getci_match(1,"QXFD");
                      }

  Program output      Enter your choice (Q, X, F, D): f


See Also: getc_match() getk() getlogical() getyn()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson